package com.joysuch.wwyt.mh.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class MonitorWebSocketPointAlarmData implements Serializable {

    @ApiModelProperty("大屏设备id")
    private Long deviceId;

    @ApiModelProperty("危险源id")
    private Long mhHazardId;

    @ApiModelProperty("监测点id")
    private Long pointId;

    @ApiModelProperty("监测点类型名称")
    private String pointTypeName;

    @ApiModelProperty("监测点类型编号")
    private String pointTypeCode;

    @ApiModelProperty("报警信息id")
    private Long alarmMessageId;

    @ApiModelProperty("报警信息")
    private String alarmMessage;

    @ApiModelProperty("位置信息")
    private String location;

    @ApiModelProperty("报警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date alarmMessageTime;

    @ApiModelProperty("ALL 所有报警  ADD 产生报警  HANDLE 处理报警")
    private String flagType;

    @ApiModelProperty("POINT 监测点  FACILITY 设备  HAZARD 危险源")
    private String classify;

    @ApiModelProperty("0点 1多边形")
    private Integer locationType;

    @ApiModelProperty("设备类型名称")
    private String deviceTypeName;

    private String orgCode;
    private Long tenentId;
}
